home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / game / role / ldmud-3.2-bin.lha / mud / doc / efun / environment < prev    next >
Text File  |  2001-04-06  |  601b  |  22 lines

  1. SYNOPSIS
  2.         object environment(void)
  3.         object environment(object obj)
  4.         object environment(string obj)
  5.  
  6. DESCRIPTION
  7.         Returns the surrounding object of obj, which may be given by name.
  8.         If no argument is given, it returns the surrounding of the current
  9.         object.
  10.         
  11.         Destructed objects do not have an environment.
  12.  
  13. EXAMPLE
  14.         object room;
  15.         room = environment(this_player());
  16.         
  17.         This will return the current room you are in.
  18.  
  19. SEE ALSO
  20.         first_inventory(E), next_inventory(E), all_inventory(E),
  21.         all_environment(E)
  22.